package com.jy.bean;

import java.util.Date;

public class Order {
    private Integer order_id;
    private Integer user_id;
    private Integer consignee_id;
    private Integer payable;
    private Integer quantity;
    private String OrderSubmissionTime;
    private String orderdnumber;
    private String state;
    private String timelimit;
    private String receiverAddress;
    private String consigneeName;
    private String phone;

    public Order() {
    }

    public Order(Integer order_id, Integer user_id, Integer consignee_id, Integer payable, Integer quantity, String orderSubmissionTime, String orderdnumber, String state, String timelimit, String receiverAddress, String consigneeName, String phone) {
        this.order_id = order_id;
        this.user_id = user_id;
        this.consignee_id = consignee_id;
        this.payable = payable;
        this.quantity = quantity;
        OrderSubmissionTime = orderSubmissionTime;
        this.orderdnumber = orderdnumber;
        this.state = state;
        this.timelimit = timelimit;
        this.receiverAddress = receiverAddress;
        this.consigneeName = consigneeName;
        this.phone = phone;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getConsignee_id() {
        return consignee_id;
    }

    public void setConsignee_id(Integer consignee_id) {
        this.consignee_id = consignee_id;
    }

    public Integer getPayable() {
        return payable;
    }

    public void setPayable(Integer payable) {
        this.payable = payable;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getOrderSubmissionTime() {
        return OrderSubmissionTime;
    }

    public void setOrderSubmissionTime(String orderSubmissionTime) {
        OrderSubmissionTime = orderSubmissionTime;
    }

    public String getOrderdnumber() {
        return orderdnumber;
    }

    public void setOrderdnumber(String orderdnumber) {
        this.orderdnumber = orderdnumber;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getTimelimit() {
        return timelimit;
    }

    public void setTimelimit(String timelimit) {
        this.timelimit = timelimit;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }

    public String getConsigneeName() {
        return consigneeName;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Order{" +
                "order_id=" + order_id +
                ", user_id=" + user_id +
                ", consignee_id=" + consignee_id +
                ", payable=" + payable +
                ", quantity=" + quantity +
                ", OrderSubmissionTime='" + OrderSubmissionTime + '\'' +
                ", orderdnumber='" + orderdnumber + '\'' +
                ", state='" + state + '\'' +
                ", timelimit='" + timelimit + '\'' +
                ", receiverAddress='" + receiverAddress + '\'' +
                ", consigneeName='" + consigneeName + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
